<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>添加任务</title>
        <link rel="stylesheet" type="text/css" href="css/style.css" />
		<script type="text/javascript" language="JavaScript" src="js/common.js"></script>
		<script type="text/javascript" language="JavaScript" src="../tools/datePicker/WdatePicker.js"></script>
    </head>
    <body>
        <div id="main">
            <{include file="admin/title.html"}>
            <form method="post" action="main.php?action=<{$action}>">
                <div class="msg-box">
                    <ul class="viewmess">
                        <input type="hidden" name="id" value="<{$post.uid}>">
                        <li class="light-row">
                            <span class="col_width">任务名称<span class="red_font">*</span></span>
                            <input name="title" type="text" value="<{$post.title}>" class="text-box">
                        </li>
                        <li class="dark-row">
                            <span class="col_width">任务网址<span class="red_font">*</span></span>
                            <input name="murl" type="text" value="<{$post.murl}>" class="text-box">
                        </li>
                        <li class="light-row">
                            <span class="col_width">提供积分<span class="red_font">*</span></span>
                            <input name="amount" type="text" value="<{$post.amount}>" class="text-box">
                        </li>
                        <li class="dark-row">
                            <span class="col_width">奖励积分<span class="red_font">*</span></span>
                            <input name="pay" type="text" value="<{$post.pay}>" class="text-box">
                        </li>
                        <li class="light-row">
                            <span class="col_width">任务内容<span class="red_font">*</span></span>
                        </li>
                        <li style="margin:0px; padding:0px">
                            <{$fckeditor}>
                        </li>
						<li class="dark-row">
                            <span class="col_width">开始时间</span>
                            <input name="ctime" type="text" value="<{$post.ctime}>" size="20" class="text-box" onclick="WdatePicker()">
                        </li>
                        <li class="light-row">
                            <span class="col_width">结束时间</span>
                            <input type="text" name="etime" value="<{$post.etime}>" size="20" class="text-box" onclick="WdatePicker()">
                        </li>
                        <li class="dark-row">
                            <span class="col_width">提交要求</span>
                            <input name="mrequire" type="text" value="<{$post.mrequire}>" size="20" class="text-box">
                        </li>
                        <li class="light-row">
                            <span class="col_width">记录IP</span>
                            <input type="radio" name="ipable" value="1" checked="checked">是 &nbsp;<input type="radio" name="ipable" value="0">否
                        </li>
                        <li class="dark-row">
                            <span class="col_width">&nbsp; </span>
                            <input type="hidden" name="action" value="<{$act}>"><input type="submit" class="button" name="mod" value="<{$submitButton}>">&nbsp;&nbsp;<input type="reset" class="button" value="重 置">
                        </li>
                    </ul>
                </div>
            </form>
        </div>
    </body>
</html>